<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCG40" method="POST" action="<%=actionUrl%>">
	    <EF:EFInput type="hidden" ename="fdCurrentDate" cname="日期" etc=" "/>
	    <EF:EFInput type="hidden" ename="fdChangeId" cname="交接班主键" etc=" "/>
	    
		<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
			<div class="row-fluid"> 
				<div class="span4">
				    <EF:EFSelect blockId="inqu_status" row="0" ename="fdStatus" cname="状态：" etc=" style='width:133px;'">
						 <EF:EFOptions blockId="cmes.ch.status" labelColumn="display" valueColumn="value"></EF:EFOptions>
				    </EF:EFSelect>
				</div> 
			
				<div class="span4">
					<EF:EFInput blockId="inqu_status" row="0" type="text"
						ename="fdProblemDescription" cname="问题描述：" etc=" style='width:133px;'" />
				</div>
			</div>
		</div>
		
		<div id="ef_region_result" title="记录集" style="overflow: scroll">
			<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 320px;"></div>
		</div>
		
		<div id = "ef_region_detail" title="交接班管理信息" > 
			<div id = "ef_grid_d" title="页面信息" style="height:320px;"></div>
		</div>
		
		<EF:EFRegion />
        <EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCG40" queryMethod="query" autoDraw="no" readonly="false" ajax="true" style="operationBar:true">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"/>
			<EF:EFColumn ename="fdDocId" cname="docId" visible="false"/>
			
			<EF:EFComboColumn ename="fdStatus" cname="状态" blockName="cmes.ch.status" nullable="false" align="center" width="80" labelProperty="display" valueProperty="value" enable="false"/>
			<EF:EFColumn ename="fdEditDate" cname="*日期" editType="date" dateFormat="yyyy-MM-dd" align="center" width="100" nullable="false"/>			
			<EF:EFColumn ename="fdProblemDescription" cname="问题描述" nullable="false" width="800" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符"/>
        </EF:EFGrid>
        
        <EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCG4001" queryMethod="query" readonly="false" autoDraw="no" ajax="true" style ="operationBar:true;">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"/>
			
			<EF:EFComboColumn ename="fdWorknumId" cname="*生产班次" nullable="false" blockName="cmes.cp.workNum" width="80" labelProperty="chineseValue" valueProperty="value" align="center"/> 
			<EF:EFColumn ename="fdOutperson" cname="*交接人" nullable="false" validateRegex="/^.{0,20}$/" validateErrorPrompt="输入1~20个字符" align="center"/>
			<EF:EFColumn ename="fdInperson" cname="*接班人" nullable="false"  validateRegex="/^.{0,20}$/" validateErrorPrompt="输入1~20个字符" align="center"/>  
			<EF:EFColumn ename="fdProblemHadle" cname="问题处理情况" width="300" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符" editType="textarea"/>
			<EF:EFColumn ename="fdProblemAnalyse" cname="问题情况分析" width="300" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符" editType="textarea"/>  
		</EF:EFGrid>
		
	</EF:EFForm> 
</EF:EFBody> 
</html>